Loop (while)
Example (Step 2)
Julien is buying a house
. If
Julien wanted to buy the
house without taking a loan
from the bank, he would have
to wait until he had enough
money to buy the house.
Problem solving sequence:
1.
Algorithm
2.
Pseudo-code
3.
Flowchat
4.
C/C++ code
while (
my_money < cost_of_house
)
work_more
end while
buy_house